(function($){
	/*"use strict";*/
	$.entwine('ss', function($) {
		$('#action_doApproveWithdrawal, .ss-gridfield .col-buttons .action.gridfield-button-approve').entwine({
			onclick: function(e) {
				if (confirm(ss.i18n._t('WithdrawalAction.APPROVE_CONFIRMATION', 'Are you sure you want to approve this withdrawal request?'))) {
					this._super(e);
				} else {
					e.preventDefault();
					return false;
				}
			}
		});

		$('#action_doRejectWithdrawal, .ss-gridfield .col-buttons .action.gridfield-button-reject').entwine({
			onclick: function(e) {
				if (confirm(ss.i18n._t('WithdrawalAction.REJECT_CONFIRMATION', 'Are you sure you want to reject this withdrawal request?'))) {
					this._super(e);
				} else {
					e.preventDefault();
					return false;
				}
			}
		});
	});

}(jQuery));